package cn.yiyuan.auth.domain;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.util.List;

/**
 * @user m
 * @project system
 * @date 2023-10-28
 * @package cn.yiyuan.org.controller
 */
@Data
@EqualsAndHashCode()
@Accessors(chain = true)
public class Menu {

    private static final long serialVersionUID = 1L;

    private Long id;
    private String name;
    private String url;
    private String icon;
    private Long parentId;
    private List<Menu> children;
}
